/*   1:    */ package com.atomikos.icatch.config.imp;
/*   2:    */ 
/*   3:    */ import com.atomikos.datasource.RecoverableResource;
/*   4:    */ import com.atomikos.icatch.admin.LogAdministrator;
/*   5:    */ import com.atomikos.icatch.config.TSInitInfo;
/*   6:    */ import com.atomikos.icatch.system.Configuration;
/*   7:    */ import java.util.Enumeration;
/*   8:    */ import java.util.Properties;
/*   9:    */ 
/*  10:    */ public class TSInitInfoImp
/*  11:    */   implements TSInitInfo
/*  12:    */ {
/*  13:    */   private Properties properties_;
/*  14:    */   
/*  15:    */   public TSInitInfoImp()
/*  16:    */   {
/*  17: 50 */     this.properties_ = new Properties();
/*  18:    */   }
/*  19:    */   
/*  20:    */   public void setProperties(Properties properties)
/*  21:    */   {
/*  22: 59 */     this.properties_ = properties;
/*  23:    */   }
/*  24:    */   
/*  25:    */   public Properties getProperties()
/*  26:    */   {
/*  27: 68 */     return this.properties_;
/*  28:    */   }
/*  29:    */   
/*  30:    */   public Enumeration getResources()
/*  31:    */   {
/*  32: 77 */     return Configuration.getResources();
/*  33:    */   }
/*  34:    */   
/*  35:    */   public void registerLogAdministrator(LogAdministrator admin)
/*  36:    */   {
/*  37: 86 */     Configuration.addLogAdministrator(admin);
/*  38:    */   }
/*  39:    */   
/*  40:    */   public Enumeration getLogAdministrators()
/*  41:    */   {
/*  42: 95 */     return Configuration.getLogAdministrators();
/*  43:    */   }
/*  44:    */   
/*  45:    */   public void registerResource(RecoverableResource resource)
/*  46:    */   {
/*  47:104 */     Configuration.addResource(resource);
/*  48:    */   }
/*  49:    */   
/*  50:    */   public void setProperty(String name, String value)
/*  51:    */   {
/*  52:113 */     this.properties_.setProperty(name, value);
/*  53:    */   }
/*  54:    */   
/*  55:    */   public String getProperty(String name)
/*  56:    */   {
/*  57:121 */     return this.properties_.getProperty(name);
/*  58:    */   }
/*  59:    */ }


/* Location:           C:\myfile\mysoft\apache-maven-3.5.0-bin\apache-maven-3.5.0\myrep\com\atomikos\transactions\3.7.0\transactions-3.7.0.jar
 * Qualified Name:     com.atomikos.icatch.config.imp.TSInitInfoImp
 * JD-Core Version:    0.7.0.1
 */